package com.banzhi.shop.data;

import java.util.List;

/**
 * Created by Administrator on 2018/11/13.
 */

public class GoodsDetailsDatas {

    /**
     * code : 0
     * msg :
     * goods : {"pcate":1258,"id":1556,"title":"测试商品2","thumb_url":["http://img.banzhishenghuo.com/images/3/2018/03/i2AAH5l2M57tuULB5Q0LE55aqjTQfa.png","http://img.banzhishenghuo.com/images/3/2018/03/RG5lTn4SqUo4NS4sQSSJUvnTW4WUqj.png"],"marketprice":"10.00","status":1,"total":8,"sharebtn":0,"istime":0,"timestart":0,"timeend":0,"hasoption":1,"content":"<p><span style=\"color: rgb(103, 106, 108); font-family: 微软雅黑; font-size: 13px; font-weight: 700; background-color: rgb(255, 255, 255);\">商品详情<\/span><\/p>","description":"","sales":0,"showtotal":1,"usermaxbuy":0,"share_title":"","goodsOnsale":0,"isagentgoods":0,"begin_price":"10.00","end_price":"20.00","profit":"5.00","optionstit":[{"title":"重量"}],"options":[{"id":4938,"title":"10g","thumb":null,"productprice":"20.00","marketprice":"10.00","stock":0,"profit":"3.00"},{"id":4939,"title":"20g","thumb":null,"productprice":"30.00","marketprice":"20.00","stock":8,"profit":"5.00"}],"CartCount":0,"userbuy":0}
     * cate : {"id":1258,"uniacid":3,"name":"满88选3件","thumb":"","parentid":0,"isrecommand":0,"description":"88元选3件","displayorder":1,"isshow":1,"enabled":1,"ishome":0,"level":1,"advimg":"","advurl":"","amount":88,"num":3}
     */

    private String code;
    private String msg;
    private GoodsBean goods;
    private CateBean cate;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public GoodsBean getGoods() {
        return goods;
    }

    public void setGoods(GoodsBean goods) {
        this.goods = goods;
    }

    public CateBean getCate() {
        return cate;
    }

    public void setCate(CateBean cate) {
        this.cate = cate;
    }

    public static class GoodsBean {
        /**
         * pcate : 1258
         * id : 1556
         * title : 测试商品2
         * thumb_url : ["http://img.banzhishenghuo.com/images/3/2018/03/i2AAH5l2M57tuULB5Q0LE55aqjTQfa.png","http://img.banzhishenghuo.com/images/3/2018/03/RG5lTn4SqUo4NS4sQSSJUvnTW4WUqj.png"]
         * marketprice : 10.00
         * status : 1
         * total : 8
         * sharebtn : 0
         * istime : 0
         * timestart : 0
         * timeend : 0
         * hasoption : 1
         * content : <p><span style="color: rgb(103, 106, 108); font-family: 微软雅黑; font-size: 13px; font-weight: 700; background-color: rgb(255, 255, 255);">商品详情</span></p>
         * description :
         * sales : 0
         * showtotal : 1
         * usermaxbuy : 0
         * share_title :
         * goodsOnsale : 0
         * isagentgoods : 0
         * begin_price : 10.00
         * end_price : 20.00
         * profit : 5.00
         * optionstit : [{"title":"重量"}]
         * options : [{"id":4938,"title":"10g","thumb":null,"productprice":"20.00","marketprice":"10.00","stock":0,"profit":"3.00"},{"id":4939,"title":"20g","thumb":null,"productprice":"30.00","marketprice":"20.00","stock":8,"profit":"5.00"}]
         * CartCount : 0
         * userbuy : 0
         */

        private String pcate;
        private String id;
        private String title;
        private String marketprice;
        private String status;
        private String total;
        private String sharebtn;
        private String istime;
        private String timestart;
        private String timeend;
        private String hasoption;
        private String content;
        private String description;
        private String sales;
        private String showtotal;

        public int getUsermaxbuy() {
            return usermaxbuy;
        }

        public void setUsermaxbuy(int usermaxbuy) {
            this.usermaxbuy = usermaxbuy;
        }

        public int getUserbuy() {
            return userbuy;
        }

        public void setUserbuy(int userbuy) {
            this.userbuy = userbuy;
        }

        private int usermaxbuy;
        private int userbuy;
        private String share_title;
        private String goodsOnsale;
        private String isagentgoods;
        private String begin_price;
        private String end_price;
        private String profit;
        private int CartCount;

        public int getCartCount() {
            return CartCount;
        }

        public void setCartCount(int cartCount) {
            CartCount = cartCount;
        }

        private List<String> thumb_url;
        private List<OptionstitBean> optionstit;
        private List<OptionsBean> options;

        public String getPcate() {
            return pcate;
        }

        public void setPcate(String pcate) {
            this.pcate = pcate;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getMarketprice() {
            return marketprice;
        }

        public void setMarketprice(String marketprice) {
            this.marketprice = marketprice;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public String getSharebtn() {
            return sharebtn;
        }

        public void setSharebtn(String sharebtn) {
            this.sharebtn = sharebtn;
        }

        public String getIstime() {
            return istime;
        }

        public void setIstime(String istime) {
            this.istime = istime;
        }

        public String getTimestart() {
            return timestart;
        }

        public void setTimestart(String timestart) {
            this.timestart = timestart;
        }

        public String getTimeend() {
            return timeend;
        }

        public void setTimeend(String timeend) {
            this.timeend = timeend;
        }

        public String getHasoption() {
            return hasoption;
        }

        public void setHasoption(String hasoption) {
            this.hasoption = hasoption;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getSales() {
            return sales;
        }

        public void setSales(String sales) {
            this.sales = sales;
        }

        public String getShowtotal() {
            return showtotal;
        }

        public void setShowtotal(String showtotal) {
            this.showtotal = showtotal;
        }



        public String getShare_title() {
            return share_title;
        }

        public void setShare_title(String share_title) {
            this.share_title = share_title;
        }

        public String getGoodsOnsale() {
            return goodsOnsale;
        }

        public void setGoodsOnsale(String goodsOnsale) {
            this.goodsOnsale = goodsOnsale;
        }

        public String getIsagentgoods() {
            return isagentgoods;
        }

        public void setIsagentgoods(String isagentgoods) {
            this.isagentgoods = isagentgoods;
        }

        public String getBegin_price() {
            return begin_price;
        }

        public void setBegin_price(String begin_price) {
            this.begin_price = begin_price;
        }

        public String getEnd_price() {
            return end_price;
        }

        public void setEnd_price(String end_price) {
            this.end_price = end_price;
        }

        public String getProfit() {
            return profit;
        }

        public void setProfit(String profit) {
            this.profit = profit;
        }

        public List<String> getThumb_url() {
            return thumb_url;
        }

        public void setThumb_url(List<String> thumb_url) {
            this.thumb_url = thumb_url;
        }

        public List<OptionstitBean> getOptionstit() {
            return optionstit;
        }

        public void setOptionstit(List<OptionstitBean> optionstit) {
            this.optionstit = optionstit;
        }

        public List<OptionsBean> getOptions() {
            return options;
        }

        public void setOptions(List<OptionsBean> options) {
            this.options = options;
        }

        public static class OptionstitBean {
            /**
             * title : 重量
             */

            private String title;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }
        }

        public static class OptionsBean {
            /**
             * id : 4938
             * title : 10g
             * thumb : null
             * productprice : 20.00
             * marketprice : 10.00
             * stock : 0
             * profit : 3.00
             */

            private String id;
            private String title;
            private Object thumb;
            private String productprice;
            private String marketprice;
            private String stock;
            private String profit;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public Object getThumb() {
                return thumb;
            }

            public void setThumb(Object thumb) {
                this.thumb = thumb;
            }

            public String getProductprice() {
                return productprice;
            }

            public void setProductprice(String productprice) {
                this.productprice = productprice;
            }

            public String getMarketprice() {
                return marketprice;
            }

            public void setMarketprice(String marketprice) {
                this.marketprice = marketprice;
            }

            public String getStock() {
                return stock;
            }

            public void setStock(String stock) {
                this.stock = stock;
            }

            public String getProfit() {
                return profit;
            }

            public void setProfit(String profit) {
                this.profit = profit;
            }
        }
    }

    public static class CateBean {
        /**
         * id : 1258
         * uniacid : 3
         * name : 满88选3件
         * thumb :
         * parentid : 0
         * isrecommand : 0
         * description : 88元选3件
         * displayorder : 1
         * isshow : 1
         * enabled : 1
         * ishome : 0
         * level : 1
         * advimg :
         * advurl :
         * amount : 88
         * num : 3
         */

        private String id;
        private String uniacid;
        private String name;
        private String thumb;
        private String parentid;
        private String isrecommand;
        private String description;
        private String displayorder;
        private String isshow;
        private String enabled;
        private String ishome;
        private String level;
        private String advimg;
        private String advurl;
        private String amount;
        private String num;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUniacid() {
            return uniacid;
        }

        public void setUniacid(String uniacid) {
            this.uniacid = uniacid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public String getParentid() {
            return parentid;
        }

        public void setParentid(String parentid) {
            this.parentid = parentid;
        }

        public String getIsrecommand() {
            return isrecommand;
        }

        public void setIsrecommand(String isrecommand) {
            this.isrecommand = isrecommand;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getDisplayorder() {
            return displayorder;
        }

        public void setDisplayorder(String displayorder) {
            this.displayorder = displayorder;
        }

        public String getIsshow() {
            return isshow;
        }

        public void setIsshow(String isshow) {
            this.isshow = isshow;
        }

        public String getEnabled() {
            return enabled;
        }

        public void setEnabled(String enabled) {
            this.enabled = enabled;
        }

        public String getIshome() {
            return ishome;
        }

        public void setIshome(String ishome) {
            this.ishome = ishome;
        }

        public String getLevel() {
            return level;
        }

        public void setLevel(String level) {
            this.level = level;
        }

        public String getAdvimg() {
            return advimg;
        }

        public void setAdvimg(String advimg) {
            this.advimg = advimg;
        }

        public String getAdvurl() {
            return advurl;
        }

        public void setAdvurl(String advurl) {
            this.advurl = advurl;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }
    }
}
